package com.jubotech.business.web.domain;

import java.math.BigDecimal;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;

import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Getter;
import lombok.Setter;
@Table(name = "tbl_wx_circletask")
@Getter
@Setter
public class CircleTask{
	@Id
	@GeneratedValue(generator = "JDBC")
	private Integer id;
	private Integer accountid;
	private Integer cid;
	private Integer state;// 状态1开启中0已完成
	private String execute_time;// 执行时间
	private Integer restype;
	private String content;
	private Integer likesize;
	private Integer commentsize;
	private Integer totalsize;
	@Transient
	private Integer doingsize;
	private String remarks;// 内容
	private String wechats;//要发朋友圈的微信号
	@Column(name = "create_time")
	private Date createTime;  
	private String deleted;
	private Integer cycle_type;// 周期类型 0 不循环 1 每天 2 隔天
	private String end_time;// 结束时间
	private String task_name;// 任务名称
	private String customer;// 客户id
	private String cust_name;// 客户名称
	@Column(name = "modify_time")
	private Date modifyTime; 
	@Column(name = "update_time")
	private Date updateTime;

	@Transient
	private String comment;// 评论
	@Transient
	private Integer attachtype;// 附件类型
	@Transient
	private String attachtcontent;// 附件内容
	private Integer between_time;//间隔时间，单位分钟

	//来源wechatid
	private String origin_wechatid;
	@Transient
	private String origin_wechatid_name;

	private String origin_friendid;
	//来源名称
	private String origin_name;
	//来源头像
	private String origin_avatar;
	//发送类型 0被动 1主动
	private Integer send_type;
	//朋友圈类型
	private String circle_type;

	private BigDecimal price_num;

	private String price_url;

	private Date price_end_time;
	@Transient
	private String price_end_time_str;
	@Transient
	private Integer order_type;
}
